<%@ Page Language="c#" Inherits="PHSRAG.Insight21.COI.AddExternal" CodeFile="AddExternal.aspx.cs" %>

<%@ Register TagPrefix="cc2" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<%@ Register TagPrefix="cc1" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>COI - AddExternal</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <table width="100%" class="container">
        <tr>
        <td>
            <asp:Panel ID="headerSection" runat="server">
                <table class="Header">
                    <tr>
                        <td>
                            <cc1:Header ID="header" runat="server"></cc1:Header>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <cc1:CoISubNavigation ID="coiSubNavigation" runat="server"></cc1:CoISubNavigation>
                        </td>
                    </tr>
                </table>
                <table class="PlaceBar" width="100%">
                    <tr>
                        <td>
                            <cc2:BreadCrumb ID="breadCrumb" runat="server" HighlightCurrentPage="true"></cc2:BreadCrumb>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
        </tr>
    <tr><td>
            <table>
                <tr>
                    <td>
                        <cc2:PostbackGuard ID="postbackGuard" runat="server"></cc2:PostbackGuard>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td>
                        <cc2:Annunciator ID="annunciator" runat="server"></cc2:Annunciator>
                    </td>
                </tr>
            </table>
            <cc2:SetFocus ID="setFocus" runat="server" FocusControl="lastName"></cc2:SetFocus>
            <br />
            <br />
            <asp:Panel ID="addExternalPerson" runat="server">
                <table class="Container">
                    <tr>
                        <td>
                            <table style="background-color:white" width="100%" border="0">
                                <tr>
                                    <td>
                                        <table>
                                            <tr>
                                                <td align="right" style="width:30%">
                                                    &nbsp;<span style="white-space:nowrap">Please provide information for the external 
											person you wish to add.</span>
                                                    <br />
                                                    The required fields are denoted with an asterisk.<br />
                                                    <br />
                                                    <asp:ValidationSummary ID="validationSummary" runat="server"></asp:ValidationSummary>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    *Last Name:&nbsp;
                                                    <asp:TextBox ID="lastName" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:RequiredFieldValidator ID="firstNameValidator" runat="server" Display="None"
                                                        ControlToValidate="firstName" ErrorMessage="First Name is required"></asp:RequiredFieldValidator>*First
                                                    Name:&nbsp;
                                                    <asp:TextBox ID="firstName" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Middle Name:&nbsp;
                                                    <asp:TextBox ID="middleName" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    *Address 1:&nbsp;
                                                    <asp:TextBox ID="address1" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="lastNameValidator" runat="server" Display="None"
                                                        ControlToValidate="lastName" ErrorMessage="Last Name is required"></asp:RequiredFieldValidator>
                                                    <asp:RequiredFieldValidator ID="addressValidator" runat="server" Display="None" ControlToValidate="address1"
                                                        ErrorMessage="Address is required"></asp:RequiredFieldValidator></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Address 2:&nbsp;
                                                    <asp:TextBox ID="address2" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    *City:&nbsp;
                                                    <asp:TextBox ID="city" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="cityValidator" runat="server" Display="None" ControlToValidate="city"
                                                        ErrorMessage="City is required"></asp:RequiredFieldValidator></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    *State:&nbsp;
                                                    <asp:DropDownList ID="state" runat="server">
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="stateValidator" runat="server" Display="None" ControlToValidate="state"
                                                        ErrorMessage="State is required"></asp:RequiredFieldValidator></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    *Zip:&nbsp;
                                                    <asp:TextBox ID="zip" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="zipValidator" runat="server" Display="None" ControlToValidate="zip"
                                                        ErrorMessage="Zip Code is required"></asp:RequiredFieldValidator>
                                                    <asp:RegularExpressionValidator ID="zipRegularExpressionValidator" runat="server"
                                                        Display="None" ControlToValidate="zip" ErrorMessage="Please provide a valid zip code"
                                                        ValidationExpression="^\d{5}(-\d{4})?$"></asp:RegularExpressionValidator></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <cc2:TelephoneNumber ID="telephone" runat="server" Required="true"></cc2:TelephoneNumber>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <cc2:TelephoneNumber ID="fax" runat="server" Required="false" Prompt="Fax Number:"></cc2:TelephoneNumber>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <cc2:EmailAddress ID="email" runat="server" Required="true"></cc2:EmailAddress>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Degree:&nbsp;
                                                    <asp:DropDownList ID="degree" runat="server">
                                                    </asp:DropDownList></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <asp:RequiredFieldValidator ID="orgValidator" runat="server" Display="None" ControlToValidate="institution"
                                                        ErrorMessage="Institutional Affiliation is required"></asp:RequiredFieldValidator>*Institutional
                                                    Affiliation:&nbsp;
                                                    <asp:TextBox ID="institution" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Department:&nbsp;
                                                    <asp:TextBox ID="department" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    Institution Title:&nbsp;
                                                    <asp:TextBox ID="institutionTitle" runat="server"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td align="right">
                                                    <br />
                                                    <asp:ImageButton ID="formCancel" CausesValidation="False" runat="server" ImageUrl="../Images/b_cancel.gif">
                                                    </asp:ImageButton>&nbsp; &nbsp;
                                                    <asp:ImageButton ID="formSave" runat="server" ImageUrl="../Images/b_continue.gif"></asp:ImageButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td style="width:70%">
                                        &nbsp;<br />
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
    </td></tr>
        </table>
    </form>
</body>
</html>
